<!--商品描述，商品属性 START-->
<div class="box">
	<div class="box_1" style="min-height:600px;">
		<div class="detail_head">
			<div class="dtl_nav_f cur" data-to="com_h">				
				产品参数&nbsp;
			</div>
			<div class="dtl_nav unpointer" data-to="com_v">
				产品详情
			</div>
		</div>		
		<style>
			table{padding:0px;margin:0px;}
		</style>
		<div id="com_h" class="box_item property">
			<div class="space50"></div>
			<table class="table table-bordered"  id="dtlInfoView">
				<volist name="properties" id="property_group" key="key">
					<tr>
						<th colspan="2" bgcolor="#FFFFFF" style="font-size:18px;">{$key}</th>
					</tr>
					<volist name="property_group" id="property">
						<tr>						
							<td class="dtl_type">
								{$property.name}
							</td>
							<td class="dtl_desc">
								{$property.value}
							</td>
						</tr>
					</volist>
				</volist>
			</table>					
		</div>
		<div id="com_v" class="box_item RelaArticle" style="display:none;">			
			{$goods.goods_desc}
		</div>
	</div>
</div>




<script>
	//切换选项
	$(document).ready(function(){
		$('.detail_head').find('div').each(function(){
			$(this).click(function(){
				var id = $(this).attr("data-to");
				$('.detail_head').find('div').each(function(){
					$(this).removeClass('cur');
				});
				$('.box_item').each(function(){
					$(this).css('display','none');
				});
				$('#'+id).css('display','block');
				$(this).addClass('cur');
			});
		});
	});
</script>




<!--了解更多-->
<if condition="$goods['goods_id'] eq 40">
	<style>
		.learn-more-wrap a{font-size:20px;color:#31A5E7;}
		.learn-more-wrap a:hover{color:#EA5245;}
	</style>
	<div class="learn-more-wrap">
		<a href="{:U('goods/yinxiang')}">点击了解更多>></a>
	</div>	
</if>






